/** ###################################################################
**     Filename  : Fonera.H
**     Project   : Motologger_v2
**     Processor : MC9S12XA256CFU
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 12/7/2009, 5:48 PM
**     Contents  :
**         User source code
**
**     (c) Copyright UNIS, a.s. 1997-2008
**     UNIS, a.s.
**     Jundrovska 33																								f
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/

#ifndef __Fonera_H
#define __Fonera_H

/* MODULE Fonera */

#define RXBUFFSZ 128
#include "stddef.h"


/** ###################################################################
**     Filename  : Fonera.C
**     Project   : Motologger_v2
**     Processor : MC9S12XA256CFU
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 12/7/2009, 5:48 PM
**     Contents  :
**         User source code
**
**     (c) Copyright UNIS, a.s. 1997-2008
**     UNIS, a.s.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/


/* MODULE Fonera */
#include "Wifi_SCI.h"
#include "stddef.h"
#include "Fonera.h"
#include "gps.h" //for LF def

unsigned char Fonera_GetFlag(void);
void Fonera_SetFlag(void);
void Fonera_ClearFlag(void);

void convert_4to8(char *input, char* output, int input_size, int output_size);


void Fonera_Send(char* data, short size);
short Fonera_Receive(char* data, short size);

void Fonera_BufferData(char data);

/* END Fonera */


/* END Fonera */

#endif

